import http from "@/utils/request";

export async function postData(functionMethod, searchObject) {
	//集合
	let param = {}
	param.model = functionMethod;
	param.filters = searchObject
	return  await http.post("/data/selectOne", param);
}


export async function postList(functionMethod, searchObject) {
	//集合
	let param = {}
	param.model = functionMethod;
	param.filters = searchObject
	return  await http.post("/data/list", param);
}

